package ec.edu.uce.tour.dto;

import java.util.Set;
import java.util.TreeSet;

public class Submenu {

	private int idSubmenu;
	private Menu menu;
	private Set<Item> items ;
	
	
	public Submenu()
	{
		//this.setTipo(2);
		this.setItems(new TreeSet<Item>());
	}


	/**
	 * @return the idSubmenu
	 */
	public int getIdSubmenu() {
		return idSubmenu;
	}


	/**
	 * @param idSubmenu the idSubmenu to set
	 */
	public void setIdSubmenu(int idSubmenu) {
		this.idSubmenu = idSubmenu;
	}


	/**
	 * @return the menu
	 */
	public Menu getMenu() {
		return menu;
	}


	/**
	 * @param menu the menu to set
	 */
	public void setMenu(Menu menu) {
		this.menu = menu;
	}


	/**
	 * @return the items
	 */
	public Set<Item> getItems() {
		return items;
	}


	/**
	 * @param items the items to set
	 */
	public void setItems(Set<Item> items) {
		this.items = items;
	}
}
